package com.ssy.lingxi.platform.manage.api.hystrix.paas;

import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.platform.manage.api.feign.paas.CountryAreaPAASControllerFeign;
import com.ssy.lingxi.platform.manage.api.model.dto.countryarea.CountryAreaPAASDTO;
import org.springframework.stereotype.Component;

@Component
public class CountryAreaPAASControllerFeignFallback implements CountryAreaPAASControllerFeign {


    @Override
    public Wrapper<?> add(CountryAreaPAASDTO dto) {
        return Wrapper.failService("服务调用异常");
    }

    @Override
    public Wrapper<?> update(CountryAreaPAASDTO dto) {
        return Wrapper.failService("服务调用异常");
    }

    @Override
    public Wrapper<?> delete(CountryAreaPAASDTO dto) {
        return Wrapper.failService("服务调用异常");
    }

    @Override
    public Wrapper<?> enable(CountryAreaPAASDTO dto) {
        return Wrapper.failService("服务调用异常");
    }
}
